home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / applications / 3271 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.0 KB

  1. Path: fc.hp.com!news
  2. From: koren@hpsrk.fc.hp.com (Steve Koren)
  3. Newsgroups: comp.sys.amiga.applications
  4. Subject: Re: Virtual memory with No MMU?
  5. Date: 13 Mar 1996 12:51:54 -0700
  6. Organization: HP Fort Collins Site
  7. Sender: koren@hpsrk.fc.hp.com
  8. Message-ID: <oj6ohq0ai05.fsf@hpsrk.fc.hp.com>
  9. References: <Dnspsw.K5D@exeter.ac.uk> <392.6642T88T1636@enterprise.net>
  10.     <4i6m1h$mir@lyra.csx.cam.ac.uk> <wulfraedDo7s8L.GCD@netcom.com>
  11. NNTP-Posting-Host: hpsrk.fc.hp.com
  12. In-reply-to: wulfraed@kd6mog.netcom.com's message of Wed, 13 Mar 1996 16:24:20 GMT
  13. X-Newsreader: Gnus v5.0.9
  14.  
  15.  
  16. wulfraed@kd6mog.netcom.com (Dennis Lee Bieber) wrote:
  17.  
  18. >         Any time you end up swapping to to disk you are going to be slowed
  19. > down.  At least the Amiga's multitasking I/O means some application can get
  20.  
  21. Yep, that's true.  Although there is slightly more to consider.  It may
  22. not make much of a real performance difference.  If you swap out
  23. something that is not in the resident set of the current set of
  24. processes, the impact is negligible, and you can then use more RAM
  25. (without swapping) than you could have otherwise.
  26.  
  27. Example: say I run a commodity from WBStartup that I use only once every
  28. few days, but I always want it loaded.  Normally this thing sits around
  29. taking up RAM.  With VM, it can be paged out (once) when there is memory
  30. pressure.  Thereafter I can use that RAM with no swapping needed.  I
  31. might access the commodity again tomorrow, but I can probably tolerate a
  32. second of paging activity at that point in order to be able to use the
  33. extra memory for many hours in the meantime.
  34.  
  35. Don't confuse proper use of VM with thrashing, which *does* slow things
  36. down terribly.  If used well, VM can have very little impact on the
  37. system while letting you use much more memory than you could otherwise.
  38. In day-to-day use I don't think my system averages more than one page
  39. fault every hour or two.  A page fault takes milliseconds, so that's not
  40. a real big price to pay in order to be able to allocate 30+ Mb on my 16
  41. Mb system.
  42.  
  43.    - steve
  44.